package com.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.entity.ChanpinxinxiEntity;
import com.entity.view.ChanpinxinxiView;
import com.entity.vo.ChanpinxinxiVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 农产品信息
 *
 * @author
 * @email
 * @date 2030-02-14 10:54:18
 */
public interface ChanpinxinxiDao extends BaseMapper<ChanpinxinxiEntity> {

    List<ChanpinxinxiVO> selectListVO(@Param("ew") Wrapper<ChanpinxinxiEntity> wrapper);

    ChanpinxinxiVO selectVO(@Param("ew") Wrapper<ChanpinxinxiEntity> wrapper);

    List<ChanpinxinxiView> selectListView(@Param("ew") Wrapper<ChanpinxinxiEntity> wrapper);

    List<ChanpinxinxiView> selectListView(Pagination page, @Param("ew") Wrapper<ChanpinxinxiEntity> wrapper);

    ChanpinxinxiView selectView(@Param("ew") Wrapper<ChanpinxinxiEntity> wrapper);


    String selecttyuanliao(@Param("ew") String chanpinbianhao);

    String selectcangchu(@Param("ew") String chanpinbianhao);

    String selectshengchansuyuan(@Param("ew") String chanpinbianhao);

    String selectwuliu(@Param("ew") String chanpinbianhao);
}
